package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.SpuInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-product")
public interface OrderProductService {

    @GetMapping("product/spuinfo/getSpuInfoBySkuId/{skuId}")
    SpuInfoVo getSpuInfoBySkuId(@PathVariable("skuId") Long skuId);

}
